﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _3D_FileExplorer
{
    public partial class MainForm : Form
    {
        

        public MainForm()
        {
            InitializeComponent();
        }
        public Control Panel
        {
            get { return panel1; }
        }

        public ToolStripProgressBar ProgressBar
        {
            get { return ProgressBar1; }
        }

        public ToolStripLabel StatusLabel
        {
            get { return statusLabel; }
        }

        public TextBox PathTextBox
        {
            get { return pathTextBox; }
        }
        public Panel GetCanvas()
        {
            return panel1;
        }
        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void setingsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Settings settings = new Settings();
            settings.Show();
        }

        public MenuStrip MenuStrip
        {
            get { return menuStrip1; }
        }

        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //this.Visible = false;
            Help help = new Help();
            help.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void toolStripChangeColor_Click(object sender, EventArgs e)
        {
            FormDiffuseColor formDiffuseColor = new FormDiffuseColor();
            formDiffuseColor.Show();
            formDiffuseColor.TopMost = true;
            formDiffuseColor.Location = new Point(this.Location.X + panel1.Width - 195, this.Location.Y + panel1.Height - 75);
        }

    }
}
